# 测试环境
FROM openjdk:8-jdk-alpine
COPY app.jar app.jar
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo 'Asia/Shanghai' >/etc/timezone
EXPOSE 15379
ENTRYPOINT ["java","-jar","-Dspring.profiles.active=pre","-Djava.security.egd=file:/dev/./urandom","-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=15379","app.jar"]
